Micron Document
<!DOCTYPE html>
<html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-0 vector-toc-not-available vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-0 vector-feature-night-mode-enabled skin-theme-clientpref-os vector-sticky-header-enabled" lang="fr" dir="ltr"><head>
<meta charset="UTF-8">
<title>OSCAR (protocole)</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="./_res_/favicon.png">
<link rel="canonical" href="https://fr.wikipedia.org/wiki/OSCAR_(protocole)"> <link href="./_mw_/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.wikimediamessages.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./_mw_/site.styles.css">
<link rel="stylesheet" type="text/css" href="./_mw_/noscript.css">
<link rel="stylesheet" type="text/css" href="./_res_/footer.css">
<link rel="stylesheet" type="text/css" href="./_res_/vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-OSCAR_protocole rootpage-OSCAR_protocole skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading"><span lang="en">OSCAR (protocole)</span></h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="contentSub">
<div id="mw-content-subtitle"></div>
</div>
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="fr" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="fr" dir="ltr">
<p class="mw-empty-elt">
</p>

<div class="infobox_v3 infobox infobox--frwiki noarchive">
<div class="entete icon communication" style="background-color: #DFEDFF;"><style data-mw-deduplicate="TemplateStyles:r228712581">
/* start https://fr.wikipedia.org/ */


.mw-parser-output .entete.communication{background-image:url("./_mw_/Picto_infobox_antenna.png")}


/* end https://fr.wikipedia.org/ */
</style>
<div>OSCAR</div>
</div>
<p class="mw-empty-elt">
</p><p class="mw-empty-elt">
</p>
<table><caption style="">Informations</caption>

<tbody><tr>
<th scope="row"> Fonction
</th>
<td>
Messagerie instantanée</td>
</tr>

<tr>
<th scope="row"> <a href="Sigle" title="Sigle">Sigle</a>
</th>
<td>
OSCAR</td>
</tr>





<tr>
<th scope="row"> <a href="Port_(logiciel)" title="Port (logiciel)">Port</a>
</th>
<td>
?</td>
</tr>



</tbody></table>
</div>
<p><b>OSCAR</b> (<a href="Acronyme" class="mw-redirect" title="Acronyme">acronyme</a> de <i><b>O</b>pen <b>S</b>ystem for <b>C</b>ommunic<b>A</b>tion in <b>R</b>ealtime</i>) est le protocole le plus important d'AOL pour la <a href="Messagerie_instantan%C3%A9e" title="Messagerie instantanée">messagerie instantanée</a> et l'<a href="Information_de_pr%C3%A9sence" title="Information de présence">information de présence</a>. Actuellement, OSCAR est utilisé par les deux principaux systèmes de messagerie instantanée d'AOL&nbsp;: <a href="ICQ" title="ICQ">ICQ</a> et <a href="AOL_Instant_Messenger" title="AOL Instant Messenger">AIM</a>.
</p><p>Malgré son nom, les spécifications du protocole sont <a href="Format_propri%C3%A9taire" title="Format propriétaire">propriétaires</a>. AOL a fait de grands efforts pour empêcher ses <a href="Concurrents" class="mw-redirect" title="Concurrents">concurrents</a> (à savoir <a href="Microsoft" title="Microsoft">Microsoft</a>, <a href="XMPP" class="mw-redirect" title="XMPP">XMPP</a> et Cerulean Studios&nbsp;<a href="https://de.wikipedia.org/wiki/Cerulean_Studios" class="extiw external" title="de:Cerulean Studios"><span class="indicateur-langue" title="Article en allemand&nbsp;: «&nbsp;Cerulean Studios&nbsp;»">(de)</span></a>) d'implanter des <a href="Client_informatique" class="mw-redirect" title="Client informatique">clients</a> compatibles avec leurs systèmes de <a href="Messagerie_instantan%C3%A9e" title="Messagerie instantanée">messagerie instantanée</a> <a href="Logiciel_propri%C3%A9taire" title="Logiciel propriétaire">propriétaires</a>. En 2002, AOL a signé un contrat avec <a href="Apple" title="Apple">Apple</a> lui permettant d'utiliser OSCAR (ainsi que ses <a href="Biblioth%C3%A8ques_logicielles" class="mw-redirect" title="Bibliothèques logicielles">bibliothèques logicielles</a>) dans son application <a href="IChat" title="IChat">iChat</a>. Cela a permis aux utilisateurs d'iChat d'interagir directement avec les utilisateurs d'<a href="ICQ" title="ICQ">ICQ</a> et d'<a href="AOL_Instant_Messenger" title="AOL Instant Messenger">AIM</a>. L'accord a également permis aux utilisateurs du service <a href=".Mac" title=".Mac">.Mac</a> d'Apple de se connecter au réseau AIM en utilisant leurs <a href="Adresses_%C3%A9lectroniques" class="mw-redirect" title="Adresses électroniques">adresses électroniques</a> <a href=".Mac" title=".Mac">.Mac</a> (cette possibilité a, par la suite, été implantée sur le service <a href="MobileMe" title="MobileMe">MobileMe</a> d'<a href="Apple" title="Apple">Apple</a>).
</p><p>En 2009, une grande partie du protocole avait été exposée par <a href="R%C3%A9tro-ing%C3%A9nierie" title="Rétro-ingénierie">rétro-ingénierie</a> et mise en œuvre par un nombre toujours croissant de clients tiers.
</p><p>Le protocole OSCAR peut être utilisé indépendamment du réseau d'AOL. En fait, AOL étend le concept général de OSCAR, en ajoutant des systèmes de listes et des <a href="Ic%C3%B4nes" title="Icônes">icônes</a> secondaires de service, ainsi que des fonctionnalités pour les transferts de fichiers (à l'aide d'<a href="Apple_Bonjour" title="Apple Bonjour">Apple_Bonjour</a>).
</p><p>Le <time class="nowrap" datetime="2006-03-06" data-sort-value="2006-03-06">6 mars 2006</time>, AOL a publié le <a href="Kit_de_d%C3%A9veloppement" title="Kit de développement">SDK</a> AIM et a lancé un site du développeur, ce qui permet aux développeurs de créer des <a href="Plug-ins" class="mw-redirect" title="Plug-ins">plug-ins</a> pour AIM et de construire leurs propres clients personnalisés qui se connectent via le protocole OSCAR. Cependant, AOL n'avait pas, à cette date, publié d'information sur le protocole lui-même.
</p><p>Le <time class="nowrap" datetime="2008-03-05" data-sort-value="2008-03-05">5 mars 2008</time>, AOL a publié des portions de la documentation du protocole OSCAR.
</p><p>Google offre également la possibilité de se connecter au réseau AIM à travers le client <a href="Google_Talk" title="Google Talk">Google Talk</a> intégré dans <a href="Gmail" title="Gmail">Gmail</a>.
</p>

<div class="mw-heading mw-heading2"><h2 id="Structure_de_paquet">Structure de paquet</h2></div>
<p>Tous les <a href="Paquet_(r%C3%A9seau)" title="Paquet (réseau)">paquets</a> envoyés sur OSCAR sont <a href="Encapsulation" class="mw-disambig" title="Encapsulation">encapsulés</a> de la même manière. Tous les nombres entiers de 16 <a href="Bit" title="Bit">bits</a> envoyés sur le réseau ne sont pas signés et sont de type <i>big endian</i> (voir <a href="Endianness" class="mw-redirect" title="Endianness">endianness</a>). Il en est de même pour les nombres entiers de 32 bits et de 8 bits.
</p>
<div class="mw-heading mw-heading3"><h3 id="Entête_FLAP"><span id="Ent.C3.AAte_FLAP"></span>Entête FLAP</h3></div>
<p>Un conteneur FLAP (Frame Layer Protocol<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup>) renferme chaque paquet. Il contient des informations sur la taille du paquet, son canal et son numéro de séquence.
</p>
<table class="wikitable" cellspacing="0" cellpadding="4">
<tbody><tr>
<th>Offset (<a href="Hexadecimal" class="mw-redirect" title="Hexadecimal">hex</a>)
</th>
<th>Champ
</th>
<th>Type/Taille (en octets)
</th>
<th>Remarques
</th></tr>
<tr>
<td>00
</td>
<td>FLAP ID
</td>
<td>byte/1
</td>
<td>Contient toujours 2A. C'est la marque de début de paquet.
</td></tr>
<tr>
<td>01
</td>
<td>Canal
</td>
<td>byte/1
</td>
<td>1 = connexion, 2 = couche SNAC, 3 = erreur, 4 = déconnecter
</td></tr>
<tr>
<td>02
</td>
<td>Numéro de séquence
</td>
<td>int16/2
</td>
<td>Incrémenté de 1 chaque fois qu'un paquet est envoyé. Recommence à 0 après FFFF.
</td></tr>
<tr>
<td>04
</td>
<td>Taille de donnée
</td>
<td>int16/2
</td>
<td>La taille n'inclut pas l'entête de la FLAP.
</td></tr></tbody></table>
<div class="mw-heading mw-heading3"><h3 id="Donnée_SNAC"><span id="Donn.C3.A9e_SNAC"></span>Donnée SNAC</h3></div>
<p>Dans presque tous les paquets envoyés sur le canal 2, les paquets contiennent un SNAC (<i>Simple Network Atomic Communication</i>). Il y a toujours un ou zéro de ces contenus dans un paquet. Par conséquent, les paquets ne contiennent pas (et n'ont pas besoin) d'un champ de longueur.
</p>
<table class="wikitable" cellspacing="0" cellpadding="4">
<tbody><tr>
<th>Offset (<a href="Hexadecimal" class="mw-redirect" title="Hexadecimal">hex</a>)
</th>
<th>Champ
</th>
<th>Type/Taille (en octets)
</th>
<th>Remarques
</th></tr>
<tr>
<td>00
</td>
<td>Foodgroup
</td>
<td>int16/2
</td>
<td>Le type général du paquet
</td></tr>
<tr>
<td>02
</td>
<td>Type
</td>
<td>int16/2
</td>
<td>Le type spécifique de la foodgroup
</td></tr>
<tr>
<td>04
</td>
<td>Flags
</td>
<td>int16/2
</td>
<td>
</td></tr>
<tr>
<td>06
</td>
<td>ID de requête
</td>
<td>int32/4
</td>
<td>Il peut être aléatoire, mais le bit le plus significatif ne peut être 1.
</td></tr></tbody></table>
<div class="mw-heading mw-heading2"><h2 id="Implémentations"><span id="Impl.C3.A9mentations"></span>Implémentations</h2></div>
<table class="wikitable" cellspacing="0" cellpadding="4">
<tbody><tr>
<th><a href="Langage_de_programmation" title="Langage de programmation">Langage de<br>Programmation</a>
</th>
<th>Implémentations
</th></tr>
<tr>
<td><a href="C_(langage)" title="C (langage)">C</a>
</td>
<td><a rel="nofollow" class="external text" href="http://pidgin.im/">libpurple</a><br><a rel="nofollow" class="external text" href="http://gnomeicu.sf.net">GnomeICU</a>
</td></tr>
<tr>
<td><a href="C_Sharp" title="C Sharp">C#</a>
</td>
<td><a rel="nofollow" class="external text" href="http://www.danielgrunwald.de/coding/NOscar/">NOscar</a>
</td></tr>
<tr>
<td><a href="C%2B%2B" title="C++">C++</a>
</td>
<td><span class="ouvrage"><span class="noarchive">«&nbsp;<a rel="nofollow" class="external text" href="http://qoscar.googlecode.com/"><cite style="font-style:normal; color:var(--color-link-red, #d73333);">QOscar (Qt)</cite></a>&nbsp;»<sup class="">(<a rel="nofollow" class="external text" href="https://web.archive.org/web/*/http://qoscar.googlecode.com/">Archive.org</a> • <a rel="nofollow" class="external text" href="https://archive.wikiwix.com/cache/?url=http://qoscar.googlecode.com/">Wikiwix</a> • <a rel="nofollow" class="external text" href="https://archive.is/http://qoscar.googlecode.com/">Archive.is</a> • <a rel="nofollow" class="external text" href="https://webcache.googleusercontent.com/search?hl=fr&amp;q=cache:http://qoscar.googlecode.com/">Google</a> • Que faire&nbsp;?)</sup></span></span>
</td></tr>
<tr>
<td><a href="C_sharp#_2.0" class="mw-redirect" title="C sharp">C# 2.0</a>
</td>
<td><a rel="nofollow" class="external text" href="http://www.shaim.net/trac/oscarlib/">OscarLib</a>
</td></tr>
<tr>
<td><a href="Java_(programming_language)" class="mw-redirect" title="Java (programming language)">Java</a>
</td>
<td><a rel="nofollow" class="external text" href="http://joust.kano.net/">joscar</a><br><a rel="nofollow" class="external text" href="http://sourceforge.net/projects/ooimlib/">Instant Messenger Lib</a> <br><span class="ouvrage"><span class="noarchive">«&nbsp;<a rel="nofollow" class="external text" href="http://daim.dev.java.net/"><cite style="font-style:normal; color:var(--color-link-red, #d73333);">daim</cite></a>&nbsp;»<sup class="">(<a rel="nofollow" class="external text" href="https://web.archive.org/web/*/http://daim.dev.java.net/">Archive.org</a> • <a rel="nofollow" class="external text" href="https://archive.wikiwix.com/cache/?url=http://daim.dev.java.net/">Wikiwix</a> • <a rel="nofollow" class="external text" href="https://archive.is/http://daim.dev.java.net/">Archive.is</a> • <a rel="nofollow" class="external text" href="https://webcache.googleusercontent.com/search?hl=fr&amp;q=cache:http://daim.dev.java.net/">Google</a> • Que faire&nbsp;?)</sup></span> <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2013-12-17" data-sort-value="2013-12-17">17 décembre 2013</time>)</small></span>
</td></tr>
<tr>
<td><a href="Objective-C" title="Objective-C">Objective-C</a>
</td>
<td><a rel="nofollow" class="external text" href="https://github.com/unixpickle/LibOrange">LibOrange</a>
</td></tr>
<tr>
<td><a href="OCaml" title="OCaml">OCaml</a>
</td>
<td><a rel="nofollow" class="external text" href="http://www.cgorski.org/mloscar/">mlOscar</a>
</td></tr>
<tr>
<td><a href="Python_(programming_language)" class="mw-redirect" title="Python (programming language)">Python</a>
</td>
<td><a rel="nofollow" class="external text" href="http://twistedmatrix.com/trac/wiki/TwistedWords">TwistedWords</a>
</td></tr>
<tr>
<td><a href="Perl_(langage)" title="Perl (langage)">Perl</a>
</td>
<td><a rel="nofollow" class="external text" href="https://search.cpan.org/search?dist=Net-OSCAR">Net::OSCAR</a>
</td></tr>
<tr>
<td><a href="PHP" title="PHP">PHP</a>
</td>
<td><a rel="nofollow" class="external text" href="http://wip.asminog.com/workshop/webicqpro/webicqpro.html">WebIcqPro</a>
</td></tr></tbody></table>
<div class="mw-heading mw-heading2"><h2 id="Référence"><span id="R.C3.A9f.C3.A9rence"></span>Référence</h2></div>
<div class="references-small decimal" style=""><div class="mw-references-wrap"><ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text">
<span class="ouvrage" id="2008">«&nbsp;<a rel="nofollow" class="external text" href="http://dev.aol.com/aim/oscar/#FLAP"><cite style="font-style:normal;">FLAP - Frame Layer Protocol</cite></a>&nbsp;», <span class="italique">AOL Developer Network</span>, <i>AOL</i>, <time class="nowrap" datetime="2008-03-05" data-sort-value="2008-03-05">5 mars 2008</time> <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2009-11-01" data-sort-value="2009-11-01"><abbr class="abbr" title="premier">1<sup>er</sup></abbr> novembre 2009</time>)</small></span></span>
</li>
</ol></div>
</div>
<div class="mw-heading mw-heading2"><h2 id="Voir_aussi">Voir aussi</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Liens_externes">Liens externes</h3></div>
<ul><li><a rel="nofollow" class="external text" href="https://web.archive.org/web/20080308233204/http://dev.aol.com/aim/oscar/">Official OSCAR-Documentation (Requires Login)</a> - No longer available (12.07.2010)</li>
<li><a rel="nofollow" class="external text" href="http://iserverd.khstu.ru/oscar/">UnOfficial AIM/OSCAR Protocol Specification</a></li>
<li><a rel="nofollow" class="external text" href="https://web.archive.org/web/20080308233204/http://dev.aol.com/aim/oscar/">Archived Official Documentation</a></li>
<li><a rel="nofollow" class="external text" href="http://oilcan.org/oscar/">FAIM: FAIM/AIM/OSCAR Protocol Specification</a></li></ul>
<ul id="bandeau-portail" class="bandeau-portail"><li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail d’Internet</span> </span></li> </ul></div><!--htdig_noindex--><div><div class="zim-footer">
Cet article est issu de <a class="external text" title="Dernière modification le 2025-06-15" href="https://fr.wikipedia.org/wiki/?title=OSCAR_(protocole)&amp;oldid=226522411">Wikipédia</a>. Sauf mention contraire, le texte est disponible sous <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr">Creative Commons Attribution-Share Alike 4.0</a>. Des conditions supplémentaires peuvent s’appliquer aux fichiers multimédias.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
<script src="./_webp_/webpHandler.js"></script>

</body></html>